package com.ssy.lingxi.logistics.api.dto.request;

import javax.validation.constraints.NotNull;

/**
 * 通用会员id和角色id请求参数
 * @author wyx
 * @version 2.0.0
 * @date 2022-03-29
 **/
public class LogisticsMemberIdAndRoleIdReq {
    /**
     * 会员id
     */
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    private Long roleId;

    /**
     * 合作类型 1-平台物流服务商 2-商户合作物流公司
     */
    private Integer cooperateType;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getCooperateType() {
        return cooperateType;
    }

    public void setCooperateType(Integer cooperateType) {
        this.cooperateType = cooperateType;
    }
}
